<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
	<f:view>
		<h:outputText value="Hello World from JSF APP"></h:outputText>
		<h:panelGrid columns="3">
			<h:outputText value="Username"></h:outputText>
			<h:inputText id="txtusername" value="#{loginBean.username}"  required="true"></h:inputText>
			<h:message for="txtusername" showDetail="true" style="color:red"></h:message>
			
			<h:outputText value="Password"></h:outputText>
			<h:inputSecret id="txtpassword" value="#{loginBean.password}" required="true"></h:inputSecret>
			<h:message for="txtpassword" showDetail="true" style="color:red"></h:message>
			
			<h:inputHidden></h:inputHidden>
			<h:commandButton value="Submit" action="Login"></h:commandButton>
		</h:panelGrid>
	</f:view>
</body>
</html>